<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head runat="server">
    <title>登陆页面</title>
    <link th:href="@{/static/style/alogin.css}" rel="stylesheet" type="text/css" />
</head>
<body>
 <style type="text/css">
            .div1{  width: 400px; height: 400px; border: 1px solid #000000;margin: 0 auto;margin-top: 100px;} 
        </style>

       
    <form id="form1" runat="server" th:action="@{/login}" method="post">
    	 <div class="div1">
				账号:<input id="Text1" type="text" name="username" class="txt" th:value="${username}"/>  
				<br/>
				密码:<input id="Text2" type="password" name="password" class="txt" th:value="${password}" />  
				<br/>
				验证码:<input id="Text3" type="text" name="vcode" class="txtCode" /> <img alt="" src="" width="60px;" height="20px"/> 
            	<a class="btn" onclick="document.getElementById('form1').submit();" >提交</a>
        </div>
    </form>
</body>
</html>
